package com.heima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.heima.pojo.Order;
import com.heima.pojo.dto.OrderQueryDTO;
import com.heima.pojo.vo.OrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    IPage<OrderVO> pageOrder(IPage<OrderVO> page, @Param("orderQueryDTO") OrderQueryDTO orderQueryDTO);
}
